package com.tongguan.paypos.entity;

import com.google.gson.Gson;

/**
 * Created by Joylive on 2016/12/20 .
 */

public class SettleTotal {

    private int totalCount;
    private String totalMoney;
    private String payType;
    private String state;
    private String settlement;
    private String channelId;


    public static SettleTotal objectFromData(String str) {
        return new Gson().fromJson(str, SettleTotal.class);
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public String getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getSettlement() {
        return settlement;
    }

    public void setSettlement(String settlement) {
        this.settlement = settlement;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    @Override
    public String toString() {
        return "SettleTotal{" +
                "totalCount=" + totalCount +
                ", totalMoney='" + totalMoney + '\'' +
                ", payType='" + payType + '\'' +
                ", state='" + state + '\'' +
                ", settlement='" + settlement + '\'' +
                ", channelId='" + channelId + '\'' +
                '}';
    }
}
